package com.reeygu.item.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;


@Getter
@ToString
@AllArgsConstructor
public enum RespBeanEnum {
    SUCCESS(200, "请求成功"),
    ERROR(500, "服务端异常"),
    //登录模块5002xx
    PASS_STYLE_ERROR(500201, "密码格式错误"),
    PASS_ERROR(500202, "密码输入错误"),
    PHONE_ERROR(500203, "账号输入错误"),
    SESSION_ERROR(5002004,"登录过期"),
    //秒杀模块5003xx
    EMPTY_STOCK(500301, "库存不足"),
    REPEATE_ERROR(500302, "秒杀仅限抢购一次"),
    VISIT_BUSY(500303, "访问繁忙"),

    ;

    private final Integer code;
    private final String message;

}
